package cn.wangdh.domain.strategy.service.rule.chain;

/**
 * @author WDH
 * @description
 * @date 2024年10月19日 22:23
 */

public abstract class AbstractLogicChain implements ILogicChain{
    private ILogicChain next;


    protected abstract String ruleModel();

    @Override
    public ILogicChain appendNext(ILogicChain next) {
        this.next = next;
        return next;
    }

    @Override
    public ILogicChain next() {
        return next;
    }
}
